package CreateThread;

public class Method5 {
    //使用lambda表达式
    public static void main(String[] args) {
        Thread t = new Thread(()->{
            System.out.println("hello world");
        });
        t.start();
    }
}
